package com.jic.manager.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.manager.entity.MerchantWeBankFinance;
import com.jic.manager.request.MerchantWeBankFinanceRequest;

import java.util.List;

/**
* 商户财务信息表
* @author : 
* @email : 
* @since : 2020-11-28 11:08:40
* @version : v1.0.0
*/
public interface MerchantWeBankFinanceService {

    long insert(MerchantWeBankFinance merchantWeBankFinance);

    long delete(Long id);

    long update(MerchantWeBankFinance merchantWeBankFinance);

    MerchantWeBankFinance queryByPrimaryKey(Long id);

    List<MerchantWeBankFinance> query(MerchantWeBankFinance merchantWeBankFinance);

    PageResult<MerchantWeBankFinance> queryPage(MerchantWeBankFinance merchantWeBankFinance, Page pageQuery);

    Long updateMerchantFinanceInfo(MerchantWeBankFinanceRequest merchantWeBankFinanceRequest);

    Long addMerchantFinanceInfo(MerchantWeBankFinanceRequest merchantWeBankFinanceRequest);

    MerchantWeBankFinance getMerchantFinanceByMerchantId(Long id);

}